

import React from "react";
import ReactDOM from "react-dom/client"; //用来加载虚拟dom
import "@nutui/nutui-react/dist/style.css";
import { RouterProvider } from "react-router-dom";
import router from "./router";
import "./index.css";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import { persistor, store } from "./store";
import '@nutui/nutui-biz/dist/style.css'
const root = ReactDOM.createRoot(document.getElementById("root"));



root.render(
  <React.StrictMode>
    <Provider store={store}>
      <PersistGate loading={null} persistor={persistor}>
        <RouterProvider router={router} />
      </PersistGate>
    </Provider>
  </React.StrictMode>
);
